<template>
  <div id="app">
    <!-- 主路由路由匹配到的组件将渲染在这里 -->
    <router-view></router-view>
<!--    <el-container>
      <el-header>Header
        <el-input v-model="input" placeholder="请输入内容" style=""></el-input>
      </el-header>
      <el-main>Main
        <div class="output">
          <el-input
              v-model="input"
              readonly>{{ input }}
          </el-input>
        </div>
      </el-main>
    </el-container>-->

  </div>
</template>

<script>


export default {
  name: 'App',
  data(){
    return {
      input:""
    }

  }
}
</script>

<style scoped>
/* 添加一些样式以提高美观度 */
.el-header, .el-main {
  padding: 20px;
}

.el-header {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
}

.output {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background-color: #f5f7fa;
}

pre {
  white-space: pre-wrap; /* 使文本可以换行 */
  word-wrap: break-word;
}
</style>
